﻿using System;
using System.Runtime.Serialization;

namespace JTLeigh.Commerce.Spencer.Features.ProductImages.Service.Contracts.Runtime.GetProductImageSummaries
{

	/// <summary>
	/// Data contract representing an image size.
	/// </summary>
    [DataContract(Name = "ProductImageSize", Namespace = "http://schemas.jtleigh.com/Commerce/Spencer/Features/ProductImages/1.0/Runtime/GetProductImageSummaries/")]
    public class ProductImageSize
	{

		/// <summary>
		/// Gets or sets the width of the image.
		/// </summary>
		/// <value>An <see cref="Int16"/> pixel width.</value>
		[DataMember(Name = "Width", IsRequired = true)]
		public short Width { get; set; }

		/// <summary>
		/// Gets or sets the height of the image.
		/// </summary>
		/// <value>An <see cref="Int16"/> pixel height.</value>
		[DataMember(Name = "Height", IsRequired = true)]
		public short Height { get; set; }

	}

}
